package com.huaxin.device.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaxin.device.dto.ResponseResult;
import com.huaxin.device.dto.request.CollectedDataRecordCreateReqDTO;
import com.huaxin.device.dto.request.CollectedDataRecordPageListReqDTO;
import com.huaxin.device.dto.request.CollectedDataRecordUpdateReqDTO;
import com.huaxin.device.models.CollectedDataRecord;

public interface CollectedDataRecordService extends IService<CollectedDataRecord> {

    ResponseResult<CollectedDataRecord> create(CollectedDataRecordCreateReqDTO in);

    CollectedDataRecord getByRecordId(String id);

    ResponseResult<String> update(CollectedDataRecordUpdateReqDTO in);

    ResponseResult<String> delete(String id);

    ResponseResult<IPage<CollectedDataRecord>> pageQuery(CollectedDataRecordPageListReqDTO in);
}